<div class="row">
	<div class="col-xs-12">
		<div class="row well well-sm">
			<div class="col-xs-12 col-sm-9 col-sm-offset-1"><?php
		echo form_open(null,array(
			'class'=>'form-horizontal','role'=>'form'
		));
			?><div class="form-group">
				<label class="col-sm-3 col-md-3 col-lg-2 control-label">Trang web:</label>
				<div class="col-sm-9 col-md-9 col-lg-10"><?php
					echo '<label class="label label-warning">'.form_checkbox(array(
						'type'=>'radio','name'=>'website_status','style'=>'vertical-align:-3px',
						'value'=>'0','checked'=>set_checkbox('website_status','0', (bool)!$config['website_status'])
					)).' Tắt</label> &nbsp;&nbsp';
					echo '<label class="label label-success">'.form_checkbox(array(
						'type'=>'radio','name'=>'website_status','style'=>'vertical-align:-3px',
						'value'=>'1','checked'=>set_checkbox('website_status','1',(bool)$config['website_status'])
					)).' Bật</label>';
					echo form_error('website_status');
				?></div>
			</div><div class="form-group">
				<label class="col-sm-3 col-md-3 col-lg-2 control-label">Lý do:</label>
				<div class="col-sm-9 col-md-9 col-lg-10"><?php
					echo form_textarea(array(
						'name'=>'shutdown_reason','value'=> $this->input->bbcode_value('shutdown_reason',$config['shutdown_reason']),
						'class'=>'form-control bbcode',
						'placeholder'=>'Lý do tắt trang web'
					));
					echo form_error('shutdown_reason');
				?></div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 col-md-3 col-lg-2 control-label">Tiêu đề:</label>
				<div class="col-sm-9 col-md-9 col-lg-10"><?php
					echo form_input(array(
						'name'=>'website_title','value'=>set_value('website_title',$config['website_title']),
						'class'=>'form-control','required'=>'required',
						'placeholder'=>'Tiêu đề trang web'
					));
					echo form_error('website_title');
				?></div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 col-md-3 col-lg-2 control-label">Giới Thiệu Trang Chủ:</label>
				<div class="col-sm-9 col-md-9 col-lg-10"><?php
					echo form_input(array(
						'name'=>'website_about','value'=>set_value('website_about',$config['website_about']),
						'class'=>'form-control','required'=>'required',
						'placeholder'=>'Tiêu đề trang web'
					));
					echo form_error('website_about');
				?></div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 col-md-3 col-lg-2 control-label">Giới Thiệu Admincp:</label>
				<div class="col-sm-9 col-md-9 col-lg-10"><?php
					echo form_input(array(
						'name'=>'website_about_review','value'=>set_value('website_about_review',$config['website_about_review']),
						'class'=>'form-control','required'=>'required',
						'placeholder'=>'Tiêu đề trang web'
					));
					echo form_error('website_about_review');
				?></div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 col-md-3 col-lg-2 control-label">Email:</label>
				<div class="col-sm-9 col-md-9 col-lg-10"><?php
					echo form_input(array(
						'name'=>'website_email','value'=>set_value('website_email',$config['website_email']),
						'class'=>'form-control','required'=>'required',
						'placeholder'=>'Địa chỉ website_email','type'=>'website_email'
					));
					echo form_error('website_email');
				?></div>
			</div><div class="form-group">
				<label class="col-sm-3 col-md-3 col-lg-2 control-label">Số dt:</label>
				<div class="col-sm-9 col-md-9 col-lg-10"><?php
					echo form_input(array(
						'name'=>'website_phone','value'=>set_value('website_phone',$config['website_phone']),
						'class'=>'form-control','required'=>'required',
						'placeholder'=>'Số điện thoại','type'=>'number'
					));
					echo form_error('website_phone');
				?></div>
			</div><div class="form-group">
				<label class="col-sm-3 col-md-3 col-lg-2 control-label">Địa chỉ:</label>
				<div class="col-sm-9 col-md-9 col-lg-10"><?php
					echo form_input(array(
						'name'=>'website_address','value'=>set_value('website_address',$config['website_address']),
						'class'=>'form-control','required'=>'required',
						'placeholder'=>'Địa chỉ liên hệ'
					));
					echo form_error('website_address');
				?></div>
			</div><div class="form-group">
				<label class="col-sm-3 col-md-3 col-lg-2 control-label">Facebook:</label>
				<div class="col-sm-9 col-md-9 col-lg-10"><?php
					echo form_input(array(
						'name'=>'website_facebook','value'=>set_value('website_facebook',$config['website_facebook']),
						'class'=>'form-control','required'=>'required',
						'placeholder'=>'Tài khoản facebook'
					));
					echo form_error('website_facebook');
				?></div>
			</div>
			
			<div class="form-group">
				<div class="col-sm-offset-5 col-md-offset-4 col-lg-offset-3 col-sm-7 col-md-8 col-lg-9"><?php
					echo form_submit(array(
						'name'=>'submit','value'=>'Sửa cấu hình',
						'class'=>'btn btn-success'
					)).' '.form_reset(array(
						'name'=>'reset','value'=>'Nhập lại',
						'class'=>'btn btn-warning'
					));
				?></div>
			</div>
		<?php
		echo form_close();
		?></div>
		</div>
	</div>
</div>
<script>
</script>